﻿<ui:DataItemPart x:Class="CPPEI.Coolzon.UI.PetroleumDataPartLib.PartOilTank"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Image x:Name="bggai"  Source="Resources/gai.png"  Stretch="Fill" Height="20" VerticalAlignment="Top" Panel.ZIndex="1" Margin="0,9,0,0"/>
        <Image x:Name="bgImage"  Source="Resources/barrel_bg1.png"  Stretch="Fill"></Image>
        <TextBlock x:Name="tbText" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,30,0,0" Panel.ZIndex="1"/>
        <Rectangle x:Name="bgRec" >
        </Rectangle>

        <Border x:Name="progressRec" BorderBrush="{x:Null}" BorderThickness="0" VerticalAlignment="Bottom" Margin="0,0,0,15" Visibility="Hidden">
            <StackPanel>
                <Grid Panel.ZIndex="2">
                    <Ellipse x:Name="topEllip"  Height="20" VerticalAlignment="Top" Grid.Row="0" Fill="Red" />
                    <Ellipse x:Name="topEllip1"  Height="20" VerticalAlignment="Top" Grid.Row="0" >
                        <Ellipse.Fill>
                            <LinearGradientBrush EndPoint="0,0.5" StartPoint="1,0.5">
                                <GradientStop Color="#00000000"/>
                                <GradientStop Color="#AAFFFFFF" Offset="0.782"/>
                                <GradientStop Color="#00000000" Offset="1"/>
                            </LinearGradientBrush>
                        </Ellipse.Fill>
                    </Ellipse>
                </Grid>
                <Grid Name="_ctlBody" Panel.ZIndex="1"  Margin="0,-10,0,0" Height="20">
                    <Rectangle x:Name="centerRect" Fill="Green">
                    </Rectangle>
                    <Rectangle x:Name="centerRect1" Grid.RowSpan="2">
                        <Rectangle.Fill>
                            <LinearGradientBrush EndPoint="0,0.5" StartPoint="1,0.5">
                                <GradientStop Color="#00000000"/>
                                <GradientStop Color="#AAFFFFFF" Offset="0.341"/>
                                <GradientStop Color="#00000000" Offset="1"/>
                            </LinearGradientBrush>
                        </Rectangle.Fill>
                    </Rectangle>
                </Grid>
                <Grid Panel.ZIndex="0" Margin="0,-10,0,0">
                    <Ellipse x:Name="bottomEllip"  Height="20" VerticalAlignment="Top" Grid.Row="0" Fill="Red" />
                    <Ellipse x:Name="bottomEllip1"  Height="20" VerticalAlignment="Top" Grid.Row="0" >
                        <Ellipse.Fill>
                            <LinearGradientBrush EndPoint="0,0.5" StartPoint="1,0.5">
                                <GradientStop Color="#00000000"/>
                                <GradientStop Color="#AAFFFFFF" Offset="0.341"/>
                                <GradientStop Color="#00000000" Offset="1"/>
                            </LinearGradientBrush>
                        </Ellipse.Fill>
                    </Ellipse>
                </Grid>
            </StackPanel>
        </Border>
    </Grid>
</ui:DataItemPart>
